<template>
  <el-container class="setting-center_company-certication">
    <el-main>
      <div class="card-list">
        <el-row :gutter="40">
          <el-col :xs="18" :md="12" :lg="24" class="list-item-box">
            <div class="list-item clearfix">
              <div class="item-intro fl ">
                <div class="intro-detail ">
                  <P class="intro-title text-elepsis ng-binding">所需材料：</P>
                </div>
                <div class="intro-detail ">
                  <ul class="infos mb10">
                    <li>
                      <P class="a-row"><span><b>1：证明合法的经营材料：</b>三证合一的营业执照</span></P>
                    </li>
                    <li>
                      <P class="a-row"><span><b>2：证明真实的经营材料：</b></span></P>
                      <ul class="infos mb10" style="list-style-type: circle;">
                        <li>
                          <P class="a-row"><span><b>实体门店：</b>门店门口照片、门店内部实景照片、收银台照片</span></P>
                        </li>
                        <li>
                          <P class="a-row"><span><b>无实体门店：</b>商品照片、店铺首页、店铺商标、管理系统后台照片</span></P>
                        </li>
                      </ul>
                    </li>
                    <li>
                      <P class="a-row"><span><b>3：证明实际经营人的材料：</b>法人身份证(正面和反面)、法人手持身份证照片、代办人身份证及手持身份证照片，代办授权书</span></P>
                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </el-col>
          <el-col :xs="18" :md="12" :lg="24" class="list-item-box">
            <div class="image-link-button">
              <el-button class="image-link-button-button" size="mini" @click="gotoCompanyCertification('','')">返回</el-button>
              <el-button class="image-link-button-button" size="mini" @click="gotoCompanyEntityCertifyStepTwo('',firstType)">已准备完成，开始认证</el-button>
            </div>

          </el-col>
        </el-row>
      </div>
    </el-main>
  </el-container>
</template>

<script>
export default {
  components: {},
  props: {},
  data() {
    return {
      btnArr: [],
      firstType: 1
    }
  },
  computed: {},
  watch: {},
  created() {
    this.firstType = this.$route.query.type
    console.log('this.$router.query', this.$route.query)
  },
  methods: {
    gotoCompanyEntityCertifyStepTwo(id, type) {
      this.$router.push(`/companyCertification/companyEntityCertifyStepTwo?id=${id}&type=${type}`)
    },
    gotoCompanyCertification(id, type) {
      this.$router.push(`/setting/companyCertication?id=${id}&type=${type}`)
    }
  }
}
</script>
<style lang="scss" scoped>
.setting-center_company-certication{
  min-width: 100%;
  min-height: 100%;
  .mb16{
    margin-top: 20px;
  }
  .card-list{
    margin-top: 15px;
    padding-right: 30px;
    padding-left: 30px;
  }
}
.list-item-box {
  margin-bottom: 20px;
  padding-right: 20px;
  padding-left: 20px;

}

.list-item {
    position: relative;
    border: 2px solid #dddce2;
    border-radius: 4px;
    padding: 20px;
    display:block;
    height: auto;
    width: 100%;
    .item-intro{
      padding-left: 20px;
      letter-spacing: 0.5px;
      vertical-align: top;
      float: inherit;
      .intro-title {
        font-size: 18px;
        line-height: 24px;
        color: #595961;
        margin: -4px 0 0;
        font-weight: 700;
        letter-spacing: 1px;
        text-align: left;
      }
      .text-elepsis {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
      }
      .intro-detail {
        font-size: 16px;

        line-height: 20px;
        color: #3a3a3e;
        margin: 20px 10px 0;
        text-align: left;
        word-break: break-all;
        .infos {
          display:inline-block;
          text-align: left;
          line-height: 20px;
          margin-left: 40px;
          justify-content: space-between;
          li {
            width: 100%;
            text-align: left;
            font-weight: 400;
            p {
              margin: 0;
              font-size: 16px;
              line-height: 20px;
              span {
                display: inline-block;
                width: 30%;
              }
            }
          }
        }
      }
    }
    .fl{
      float: center;
    }
    .text-elepsis {
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      word-wrap: break-word;
    }
}
.image-link-button {
  padding: 2px 0 0;
  margin-top: 14px;
  text-align: center;
  justify-content: space-between;
  .image-link-button-button{
     background-color: #00aaff;
     z-index: 1;
     color: #FFFFFF;
     height: 36px;
     width: 300px;
     border: 1px solid #FFFFFF;
     padding: 0;
     font-size: 12px;
     align-items: center;
     border-radius: 10px;
  }
}
</style>
